package com.levi.order.controller;

import com.levi.api.controller.order.OrderControllerApi;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Slf4j
public class OrderController implements OrderControllerApi {


    @Override
    public Boolean createOrder(Integer id, Integer count) {
       // TODO 创建订单过程中可能会出现异常

        log.info("创建订单成功");
        return true;
    }
}
